package com.zh.note.service;

import com.zh.note.entity.UserEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author zhanghuan
 * @since 2024-09-07
 */
public interface UserService extends IService<UserEntity> {

    List<UserEntity> getUsers();

    UserEntity getUserById(Integer id);

    int addUser(UserEntity user);

}
